﻿using System;
using System.Collections.Generic;
using System.Text;
using Surging.Core.CPlatform.EventBus.Events;

namespace Dora.Tools.Events.MessageEvents.Product
{
    /// <summary>
    /// 商品甩位信息
    /// </summary>
    public class ProductSaleSaleEvent:IntegrationEvent
    {
        /// <summary>
        /// 消息接受组织 
        /// </summary>

        public List<Org> OrgList { get; set; }
        /// <summary>
        /// 消息接受者信息
        /// </summary>
        public List<UserInfo> UserList { get; set; }

        /// <summary>
        /// 甩位商品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 发送消息的创建者信息
        /// </summary>
        public int CreatedUserId { get; set; }
        public string CreatedUserName { get; set; }
        public DateTime CreatedTime { get; set; }

        public object Message { get; set; }
    }
    /// <summary>
    /// 用户信息
    /// </summary>
    public class UserInfo
    {

        public Guid Id { get; set; }
        public string Name { get; set; }
        public  int OrgId { get; set; }
        public string OrgName { get; set; }

    }
    /// <summary>
    /// 组织机构信息
    /// </summary>
    public class Org
    {
        public int Id { get; set; }
        public string Name { get; set; }
    }



}
